package com.xinxin.siteset.service.impl;

import com.xinxin.siteset.dao.ClassificationMapper;
import com.xinxin.siteset.model.Classification;
import com.xinxin.siteset.service.ClassificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 史鑫鑫
 * @date Created in 2019/6/7 0:00
 */
@Service
public class ClassificationServiceImpl implements ClassificationService {
    @Autowired
    ClassificationMapper classificationMapper;

    @Override
    public int insert(Classification classification) {
        return classificationMapper.insert(classification);
    }
}
